package com.crm.entity;



/**
 * UserPer entity. @author MyEclipse Persistence Tools
 */

public class UserPer implements java.io.Serializable {

	// Fields

	private Integer upId;
	private Role role;
	private Permission permission;

	// Constructors

	/** default constructor */
	public UserPer() {
	}

	/** full constructor */
	public UserPer(Role role, Permission permission) {
		this.role = role;
		this.permission = permission;
	}

	// Property accessors

	public Integer getUpId() {
		return this.upId;
	}

	public void setUpId(Integer upId) {
		this.upId = upId;
	}

	public Role getRole() {
		return this.role;
	}

	public void setRole(Role role) {
		this.role = role;
	}

	public Permission getPermission() {
		return this.permission;
	}

	public void setPermission(Permission permission) {
		this.permission = permission;
	}

}